<template>

	<view class='commodity-list'>
		<!-- 商品列表组件 -->
		<Commodity :dataList='commodityList'></Commodity>
	</view>

</template>

<script>
	import Commodity from './Commodity.vue'
	export default {
		name: "CommodityList",
		data() {
			return {
				commodityList: [{
						id: 1,
						imgUrl: "../../static/cd.png",
						name: "大姨绒毛大款 2020 年必须买,不买你就不行了,爆款疯狂 GG008 大姨绒毛大款 2020 年必须买,不买你就不行了,爆款疯狂 GG008 ",
						pprice: "299",
						oprice: "659",
						discount: "5.2"
					},
					{
						id: 2,
						imgUrl: "../../static/cd.png",
						name: "大姨绒毛大款 2020 年必须买,不买你就不行了,爆款疯狂 GG008 大姨绒毛大款 2020 年必须买,不买你就不行了,爆款疯狂 GG008 ",
						pprice: "299",
						oprice: "659",
						discount: "5.2"
					},
					{
						id: 3,
						imgUrl: "../../static/cd.png",
						name: "大姨绒毛大款 2020 年必须买,不买你就不行了,爆款疯狂 GG008 大姨绒毛大款 2020 年必须买,不买你就不行了,爆款疯狂 GG008 ",
						pprice: "299",
						oprice: "659",
						discount: "5.2"
					},
					{
						id: 4,
						imgUrl: "../../static/cd.png",
						name: "大姨绒毛大款 2020 年必须买,不买你就不行了,爆款疯狂 GG008 大姨绒毛大款 2020 年必须买,不买你就不行了,爆款疯狂 GG008 ",
						pprice: "299",
						oprice: "659",
						discount: "5.2"
					}
				]
			}
		},
		components: {
			Commodity
		}
	};
</script>

<style>

</style>